package com.yicong.ants.bean.base;

/**
 * description 服务器响应的数据
 * author  cchao
 * date  2017/2/24
 **/
public class RespBean<T> extends BaseBean {

    private T data;

    public static RespBean ofSuc() {
        RespBean respBean = new RespBean();
        respBean.setCode("2000");
        return respBean;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }
}
